package com.haizhi.crm.search.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Map;

/**
 * Created by chengmo on 2018/5/17.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SearchVo {
    private Map<String, Object> uiConfig;
    private SearchResp searchResp;

    public static SearchVo build(SearchResp searchResp) {
        SearchVo vo = new SearchVo();
        vo.setSearchResp(searchResp);
        return vo;
    }
}
